package com.zmj.sy.mom.srv.aps.bean.vo.workQueue;

import com.zmj.sy.mom.srv.aps.bean.vo.base.BasePageReqVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Getter
@Setter
public class WorkQueueTaskDetailReqVo extends BasePageReqVo {

    @ApiModelProperty("订单号")
    private List<String> orderNos;

    @ApiModelProperty("订单号")
    private String orderCode;

    @ApiModelProperty("工作区")
    private String workArea;

    @ApiModelProperty("工作组ID")
    private List<Integer> groupIds;
    @ApiModelProperty("工序列表")
    private List<String> phases;

    @ApiModelProperty("工序")
    private String phase;

    @ApiModelProperty("计划开始起始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("计划开始结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("plmid")
    private String plmid;
    @ApiModelProperty("物料名称")
    private String partName;

    @ApiModelProperty("wp包")
    private String packageNo;
    @ApiModelProperty("执行状态 1等待  2 就绪 3 执行中  4 完工")
    private Integer status;

    //新加
    @ApiModelProperty("对比方式")
    private Map<String,String> queryType = new HashMap<>();

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("套料图号")
    private String nestingCode;

    @ApiModelProperty("钢板号")
    private String plateNo;

    @ApiModelProperty("厚度")
    private BigDecimal thick;

    @ApiModelProperty("规格/材质")
    private String sizeMaterial;

    @ApiModelProperty("计划开始时间")
    private String planStartTime;

    @ApiModelProperty("预估工时(秒)")
    private Long workTime;

    @ApiModelProperty("领料单")
    private String requisition;

    @ApiModelProperty("板标长度")
    private BigDecimal plateLength;

    @ApiModelProperty("板标宽度")
    private BigDecimal plateWide;

    @ApiModelProperty("版本号")
    private String version;


}
